//
//  ListNode.swift
//  ArithmeticClass15
//
//  Created by xiangzuhua on 2020/11/24.
//

import Foundation

public class ListNode: NSObject{
    var next: ListNode?
    var val:Int
    var down:ListNode?
    public init(_ val: Int) {
        self.val = val
        self.down = nil
        self.next = nil
    }
    public init(_ val: Int, down:ListNode?) {
        self.val = val
        self.next = nil
        self.down = down
    }
}
